package com.alibaba.citrus.cr.sales.plan.dto.api.request;

import com.alibaba.citrus.cr.sales.plan.model.enums.SalesPlanModelEnum;
import com.alibaba.citrus.cr.sales.plan.dto.DimensionalityIdentityInterface;
import com.alibaba.cz.base.tool.page.PageRequest;
import lombok.Data;

import java.util.List;

/**
 * @author zls
 * @description:
 * @date 2021-10-16 21:28
 */
@Data
public class PageQueryPlanScItemExtendRequest extends PageRequest implements DimensionalityIdentityInterface {
    private static final long serialVersionUID = -5676032876126674686L;
    /**
     * 计划ID
     */
    private String planId;

    /**
     * @see SalesPlanModelEnum
     */
    private Integer model;

    private String modelId;
    /**
     * 货品ID
     */
    private String scItemId;

    private List<String> scItemIdList;

    /**
     * 货品编码
     */
    private String scItemCode;

    /**
     * 类目叶子节点ID
     */
    private String scItemLeafCategoryId;

    private List<String> scItemLeafCategoryIdList;

    private String bizId;

    /**
     * 999：业务员货品汇总 106：销售部门货品汇总 105：销售渠道货品汇总 104：销售组织货品汇总 103：业务单元货品汇总
     */
    private Integer bizType;

    /**
     * 排序字段
     */
    private String dir;
    /**
     * 是否升序
     */
    private Boolean asc;


    /**
     * 查询维度类型
     * 999：业务员货品汇总 106：销售部门货品汇总 105：销售渠道货品汇总 104：销售组织货品汇总 103：业务单元货品汇总
     */
    private Integer queryBizType;

    /**
     * 是否调整
     */
    private Boolean adjust;
}
